import { createApp } from 'vue';

import App from './App.vue';
import router from './router';
// import store from './store';
import { createPinia } from 'pinia';
import 'amfe-flexible';
const piana = createPinia();
import '@/assets/main.css';
import '@/style/index.scss';

import Vconsole from 'vconsole';

const app = createApp(App);

if (import.meta.env.VITE_NODE_ENV === 'development') {
  const vConsole = new Vconsole();
  app.use(vConsole);
}

app.use(router).use(piana).mount('#app');
